const path = require('path')

module.exports = {
  outputDir: './build',
  // publicPath: "./",
  devServer: {
    proxy: {
      '/api': {
        target: 'https://152.136.185.210:5000',
        pathRewrite: {
          '/api': ''
        },
        changeOrigin: true
      }
    }
  },
  configureWebpack: {
    devtool: 'source-map',
    resolve: {
      alias: {
        '@': path.resolve(__dirname, 'src'),
        components: '@/components'
      }
    }
  }
}
